<?php
	namespace Home\Controller;
	/**
	 * 关于界面控制器
	 */
	class AboutController extends BaseController {
		/**
		 * 关于首页面
		 */
		public function about() {
			$aboutData = M('About')->find();
			// 分配变量
			$this->assign('visitor', $this->visitor);
			$this->assign('cateNum', count($this->headerData));
			$this->assign('cateData', $this->headerData);
			$this->assign('mostHits', $this->mostHits);
			$this->assign('AllCate', $this->AllCate);			
			
			$this->assign('aboutData', $aboutData);
			// 展示模板
			$this->display();
		}
	}
